<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
<title><c:if test="${config.name  == null }">在线报名</c:if>  <c:if test="${config.name  != null }">${config.name}</c:if></title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="decorator" content="default" />
<meta name="viewport"
	content="width=device-width initial-scale=1.0  maximum-scale=1.0">
<%@ include file="/static/mobile-template/default/header.jsp"%>
</head>
<body>
		
<div>

    <div data-role="header" align="center">
        <h1> <c:if test="${config.name  == null }">在线报名</c:if>  <c:if test="${config.name  != null }">${config.name}</c:if></h1>
    </div><!-- /header -->
    
    <form:form id="inputForm" modelAttribute="onlineSignup" action="${ctxFront}/mobsite/signup/save" method="post" >
		<form:hidden path="id"/>
		<form:hidden path="user.id"/>
		<div align="center">
		<div class="control-group">
			<div class="controls">
				姓名:&nbsp;&nbsp;<form:input path="name" htmlEscape="false" maxlength="50"  class="required"/>
			</div>
		</div>
		
		<c:if test="${config.mobileFlag eq 1 }">
			<div class="control-group">
			<div class="controls">
				电话:&nbsp;&nbsp;<form:input path="mobile" htmlEscape="false" maxlength="50" class="required"/>
			</div>
		</div>
		</c:if>
		
		
		<c:if test="${config.qqFlag eq 1 }">
			<div class="control-group">
				<div class="controls">
					QQ:&nbsp;&nbsp;&nbsp;&nbsp;<form:input path="qq" htmlEscape="false" maxlength="50" class="required"/>
				</div>
			</div>
		</c:if>
		
		
		<c:if test="${config.mailFlag eq 1 }">
			<div class="control-group">
				<div class="controls">
					 邮箱:&nbsp;&nbsp;<form:input path="email" htmlEscape="false" maxlength="50" class="required"/>
				</div>
			</div>
		</c:if>
		
		<c:if test="${config.user.id eq 35 }">
			<div class="control-group">
				<div class="controls">
					申请方式:&nbsp;&nbsp;
						<select name="remarks">
							<option value="1.申请免费试骑">1.申请免费试骑</option>
							<option value="2.直接申请租车">2.直接申请租车</option>
						</select>
					
				</div>
			</div>
		</c:if>
		
                    
		
		<c:if test="${config.descFlag eq 1 }">
			<div class="control-group">
				<div class="controls">
					 描述:&nbsp;&nbsp;<form:textarea id="remarks" htmlEscape="true"  path="remarks" rows="4"   class="required"/>
				</div>
			</div>
		</c:if>
		</div>
		
		
		
			 
			 <div   align="center">
									<input id="btnSubmit" class="btn btn-danger" type="submit"
										value="确 定" />
			</div>
	</form:form>
</div>

<c:if test="${uid ne '34' }">
		<jsp:include page="/static/mobile-template/default/footer.jsp">
			<jsp:param value="${uid }" name="uid"/>
		</jsp:include>
	</c:if>
	
</body>
</html>
